FROM registry.yuyou100.com/java:8u171

LABEL MAINTAINER=wens


WORKDIR /home

ADD target/tas-gateway-1.0-SNAPSHOT.jar /home

ENV JAVA_OPT="-Xms128m -Xmx128m"
ENV PROFLES=test

ENTRYPOINT [ "/bin/bash", "-c", "java ${JAVA_OPT} -jar tas-gateway-1.0-SNAPSHOT.jar --spring.profiles.active=${PROFLES}" ]

